package org.game.module.itembo;

import com.sojoys.artifact.exception.AbstractLogicModelException;
import com.sojoys.artifact.factory.session.ISession;
import com.sojoys.artifact.core.IModule;
/** 
 * 道具
 */
public interface ItemBO extends IModule {
	byte classCode = 2;
	
	/** 使用道具 [code = 514] */
	short useGoods = 514; 
	/** 下发物品列表信息 [code = 515] */
	short getItems = 515; 
	
	
	/** 使用道具 [code = 514] */
	byte[] useGoods(ISession session, org.game.protobuf.c2s.C2SItemMsg.UseItem param) throws AbstractLogicModelException;
	
	/** 下发物品列表信息 [code = 515] */
	byte[] getItems(ISession session) throws AbstractLogicModelException;
	
}